#ifndef PLAN_H_INCLUDED
#define PLAN_H_INCLUDED

#include <fstream>
#include <string>
#include "task.h"
using namespace std;

class TaskSchedule {
public:
	TaskSchedule(ifstream &in);
	static void setRange(int start, int end);
	void dump();
	void merge(TaskSchedule& tsch);
	void updateTask(string name, int start, int end);
	void free();
	
private:
	int length;
	Task *task;
};

#endif

